// newHousePackage/pages/myHouseResource/myHouseResource.js
import { queryMyHouseResource, submitExamineHouseRequest, onOrOffHouse, deleteOneHouse, deleteRentOneHouse } from '../../../../service/house_service'
const app = getApp()
Page({

  /**
   * 页面的初始数据
   */
  data: {
    themeStyle: "",
    houseList: [

    ],

    page: 0,
    pageSize: 10,
    searchWord: "",
    scrollRefreshStatus: true,
    isShowLoading: false,
    isBottomShow: false,
    showSuccessPop: false,
    switchArr: [
      {
        title: "全部",
        key: "-1",
      },
      {
        title: "未提交",
        key: 0,
      },
      {
        title: "审核中",
        key: 1
      },
      {
        title: "审核成功",
        key: 2
      },
      {
        title: "审核失败",
        key: 3
      }
    ],
    exStatus: 0,//审核状态
    examineStatus: "-1",//默认全部是为空的
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {

  },



  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {
    if (app.globalData.themeStyle) {
      this.setData({
        themeStyle: app.globalData.themeStyle
      })
    }

  },




})